﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ClassCourse.ascx.cs" Inherits="VideoNetApplication.Control.ClassCourse" %>
<%@ Import Namespace="VideoNetApplication.Common.Helper" %>
  <div class="item">
                <h3>
                    <strong>精彩课程推荐</strong><span><a href="ViewAllCoursesHtml.aspx?schoolId=<%=SchoolId %>">更多</a></span></h3>
                <div class="index_kc_c">
                   <asp:Repeater ID="repCourse" runat="server">
                    <ItemTemplate>
                    <dl>
                        <dt><a href="ViewCourseDetail.aspx?schoolId=<%=SchoolId %>&nid=<%#Eval("id") %>" target="_blank"><%#Eval("VC_name") %></a></dt>
                        <dd>
                            适合人群：<%#Eval("vc_targetUsers")%></dd>
                        <dd>
                            课程特色：<%#StringUtils.getLimitLengthString(Eval("VC_desc").ToString(),20,"...")%></dd>
                    </dl>
                    </ItemTemplate>
                </asp:Repeater> 
                </div>
            </div>